import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from './home/Index'
import Admin from './admin/Index'
import Login from './Login'
Vue.use(VueRouter)

const routes = [
    Home,
    Admin,
    Login
]

const router = new VueRouter({
  base: process.env.BASE_URL,
  routes
})

export default router
